﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StockLookupCtrl.ascx.cs" Inherits="WebUI.Controls.StockLookupCtrl" %>
<%@ Register Src="~/Controls/POSControls/ProductDetailListCtrl.ascx" TagName="ProductDetailList" TagPrefix="uc" %>
<%@ Register Src="~/Controls/SysControls/GridFilterPaging.ascx" TagName="GridFilterPaging" TagPrefix="uc" %>
<asp:Panel ID="mainPanel" runat="server">
    <table width="100%">
        <tr>
            <td style="text-align:right; vertical-align:top; width:40%">
                <asp:Label CssClass="labelMessage" ID="label1" runat="server" Text="Brand:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top; width:60%">
                <asp:DropDownList Width="100px" ID="ddlBrand" runat="server" AutoPostBack="true" OnSelectedIndexChanged="OnSelectedIndexChanged"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top;">
                <asp:Label CssClass="labelMessage" ID="label3" runat="server" Text="Stock Location:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top; ">
                <asp:DropDownList Width="150px" ID="ddlLocation" runat="server" AutoPostBack="true" OnSelectedIndexChanged="OnSelectedIndexChanged"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top;">
                <asp:Label CssClass="labelMessage" ID="label2" runat="server" Text="Product:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top;">
                <asp:DropDownList Width="200px" ID="ddlProduct" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlProduct_OnSelectedIndexChanged"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="text-align:left; vertical-align:top" colspan="2">
                <uc:ProductDetailList Width="100%" ID="lstProduct" runat="server" AllowPaging="true" AllowSelecting="true" AllowSorting="true" SaveOnCommit="false" />
                <div style="height: 10px">
                    &nbsp;</div>
                <uc:GridFilterPaging ID="gridFilterPaging" runat="server" FilteredField="ProductName"
                    OnNeedListControl="gridFilterPaging_OnNeedListControl"/>
            </td>
        </tr>
    </table>
</asp:Panel>